<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>Painel do Usuario</title>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>css/reset.css"/>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>css/style.css"/>
        <script type="text/javascript" src="<?php echo base_url() ?>js/jquery-1.6.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>js/core.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>js/validate_form.js"></script>
        <script type="text/javascript" src="<?php echo base_url() ?>js/jquery.validate.js" ></script>
    </head>
    <body>
        <?php
        include ("includes/nav_bar.php");
        ?>
        <div id="main-content">
            <div id="conteudo" style="width: 80%;">
                <ul style="list-style: disc;">
                  <li><a href="<?php echo base_url(); ?>usuario/alterar">Alterar Dados</a></li>
                    <li><a href="<?php echo base_url(); ?>usuario/alterarSenha">Alterar Senha</a></li>
                    <li><a href="<?php echo base_url(); ?>ideias/postar">Postar Ideia</a></li>                
                </ul>
              <p><br />Seus replys aprovado: <?php echo $view_user['int_replyAprovado']; ?></p>
              <table class="jtable" style="width: 600px; margin-top: 25px;">
                    <thead>
                        <tr>
                            <th>Titulo:</th>
                            <th>Descrição</th>
                            <th>Quantidade de Reply</th>
                        </tr>
                    </thead>
                    <?php if(isset($view_ideias)) foreach($view_ideias as $ideia): ?>
                            <tr>
                              <td><a href="<?php echo base_url()."ideias/verPostagem/id/$ideia->Ideia_id"; ?>"><?php echo $ideia->Ideia_Titulo; ?></a></td>
                                <td><?php echo $ideia->Ideia_Descricao; ?></td>
                                <td><?php echo $ideia->qtd; ?></td>
                            </tr>
                    <?php endforeach; ?>
                </table>
            </div>
        </div>
    </body>
</html>